package com.example.pattern.builder;

/**
 * 指挥者
 *
 * @author FM_南风
 * @date 2024/6/23
 */
public class Director {
 public Product construct(Builder builder) {
  builder.buildProductA();
  builder.buildProductB();
  return builder.getResult();
 }

}
